import requests
from bs4 import BeautifulSoup

url='https://www.lgfdcw.com/'
h={
    'user-agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36'
}
r=requests.get(url,headers=h)

with open('lgfdcw.com','w',encoding='gbk') as f:
    f.write(r.content.decode('gbk'))
soup=BeautifulSoup(r.content.decode('gbk'),'lxml')
r1=soup.find_all('tr',{'bgcolor':'#FFFFFF'})
list_data=[]
for e in r1:
    xxdz=e.select('a')[0].string
    qy=e.select('td')[1].string
    print(qy)
